<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2015/11/4
  Time: 11:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<style>
    .validateTips { border: 1px solid transparent; padding: 0.3em 0 0.3em 0; }
</style>

    <form id="org_fm" method="post" >
        <%--<fielded>--%>
            <div class="d1o2">
                <label class="label" for="insert_name">机构名称</label>

                <div class="inputContainer">
                    <input id="insert_name" name="name" class="inputStyles" value="${obj.organizationModel.name}"/>
                </div>
            </div>

            <div class="d1o2">
                <label class="label" for="insert_orgCode">组织机构代码</label>

                <div class="inputContainer">
                    <input id="insert_orgCode" name="orgCode" class="inputStyles"value="${obj.organizationModel.orgCode}"/>
                </div>
            </div>

            <div class="d1">
                <label class="label" for="insert_address">机构地址</label>

                <div class="inputContainer">
                    <input id="insert_address" name="address" class="inputStyles" value="${obj.organizationModel.address}" style="width: 99.4%"/>
                </div>
            </div>

            <div class="d1o2">
                <label class="label" for="insert_contact">联系人姓名</label>

                <div class="inputContainer">
                    <input id="insert_contact" name="contact" class="inputStyles" value="${obj.organizationModel.contact}"/>
                </div>
            </div>
            <div class="d1o2">
                <label class="label"></label>
                <div class="inputContainer">
                    <input  class="inputStyles" id="_b" onfocus="$('#_b').blur()" style="background-color: rgb(241,243,242);border:hidden;box-shadow:none" readonly  />
                </div>
            </div>

            <div class="d1o2">
                <label class="label" for="insert_phone">联系电话</label>

                <div class="inputContainer">
                    <input id="insert_phone" name="phone" class="inputStyles" required="true"
                           data-options="validType:'mobileAndPhone'" value="${obj.organizationModel.phone}"/>
                </div>
            </div>

            <div class="d1o2">
                <label class="label" for="insert_email">联系邮箱</label>

                <div class="inputContainer">
                    <input id="insert_email" name="email" class="inputStyles" required="true"
                           data-options="validType:'email'" value="${obj.organizationModel.email}"/>
                </div>
            </div>

            <hr style="margin-bottom:30px;border:none;border-top:0.5px solid gainsboro" />
            <div class="d1o2">
                <label class="label" for="insert_user">用户名</label>

                <div class="inputContainer">
                    <input name="userId" class="inputStyles" type="hidden" value="${obj.organizationModel.userId}"/>
                    <input id="insert_user" name="userName" class="inputStyles" required="true"
                           data-options="validType:'CEN_[1,20]'" value="${obj.organizationModel.userName}"/>
                </div>
            </div>

            <div id="pwd" class="d1o2">
                <label class="label" for="insert_pwd">密码</label>

                <div class="inputContainer">
                    <input id="insert_pwd" name="pwd" class="inputStyles"
                           data-options="validType:'safepass[6,32]'" value="${obj.organizationModel.pwd}" placeholder="密码为空时，自动默认密码为“888888”" type="password"/>
                </div>
            </div>
        <%--</fielded>--%>
    </form>
    <p id="validate_tips" class="validateTips"></p>

